package com.hexus.eve.entities;

import java.util.Locale;
import java.util.Map;

public interface Translatable {
	public Integer getId();
	
	/**
	 * Returns DB table name which corresponds this entity 
	 */
	public String getTableName();
	
	
	/**
	 * Replaces object fields' values with translated ones, provided in translationValues map 
	 * @param translationValues map with pairs field name - translated field value 
	 */
	void translate(Map<String, String> translationValues, Locale locale);
}
